package com.easonji.admin.query;

import com.easonji.common.base.query.BaseQuery;

import java.util.List;

/**
 * @ClassName: UserQuery
 * @Description: 用户查询条件
 * @Author: LiuJun
 * @date: 2018/07/30 14:05:38
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
public class UserQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    /**
     * 用户状态
     */
    private Integer status;

    /**
     * 部门ID
     */
    private Integer deptId;

    /**
     * 部门ID列表
     */
    private List<Integer> deptIds;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public List<Integer> getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List<Integer> deptIds) {
        this.deptIds = deptIds;
    }

    @Override
    public String toString() {
        return "{\"status\":\"" + status + "\",\"deptId\":\"" + deptId + "\",\"deptIds\":\"" + deptIds
                + "\",\"beginTime\":\"" + beginTime + "\",\"endTime\":\"" + endTime + "\",\"condition\":\"" + condition
                + "\"} ";
    }
}
